home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / tsnr21.zip / IBM2TTY.TAB < prev    next >
Text File  |  1990-11-22  |  3KB  |  201 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ; IBM2TTY.TAB
  3. ;
  4. ; This file is a table for Turbo Search And Replace that converts text
  5. ; utilizing the upper IBM characters to a format used in older TTY like
  6. ; printers.
  7. ;
  8. ; Requirements:  The target printer is assumed to allow backspacing and
  9. ;                overtyping.  This method is used to implement the 
  10. ;                foreign language characters.
  11. ;
  12. ; Restrictions:  This file translates all line draw characters to lower
  13. ;                ASCII characters (i.e. +-|).  Double line and single line
  14. ;                are converted to be the same lower ASCII characters.
  15. ;
  16. ;                Other graphics characters are deleted from the input
  17. ;                file.
  18. ;
  19. ;                Control characters (i.e. < ASCII 32) are also removed 
  20. ;                from the input file.
  21. ;
  22. ; Note that this file can also be implemented as a one-one table
  23. ;
  24. ; Copyright (c)1990, Curtis Little
  25. ; All Rights Reserved
  26. ;
  27. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  28.  
  29. \0=                             ; Specify we want the lower ASCII characters
  30. \1=                             ; (less than CHR(32)) to be deleted.  This
  31. \2=                             ; causes the control characters to be 
  32. \3=                             ; deleted.
  33. \4=
  34. \5=
  35. \6=
  36. \7=
  37. \8=
  38. \9=
  39. \10=
  40. \11=
  41. \12=
  42. \13=
  43. \14=
  44. \15=
  45. \16=
  46. \17=
  47. \18=
  48. \19=
  49. \20=
  50. \21=
  51. \22=
  52. \23=
  53. \24=
  54. \25=
  55. \26=
  56. \27=
  57. \28=
  58. \29=
  59. \30=
  60. \31=
  61.  
  62. ;
  63. ; We don't specify a translation for characters 32 - 126 (i.e. ' ' to
  64. ; '~').  This causes Turbo SNR to leave them alone.
  65. ;
  66.  
  67. \127=                           ; Now insert normal ASCII letters if we
  68. \128=C\b,                       ; can't imitate the real letter, otherwise
  69. \129=u                          ; use backspace magic to imitate.
  70. \130=e\b'
  71. \131=a\b^
  72. \132=a
  73. \133=a\b`
  74. \134=a
  75. \135=c\b,
  76. \136=e\b^
  77. \137=e
  78. \138=e\b`
  79. \139=i
  80. \140i\b^
  81. \141=i\b`
  82. \142=A
  83. \143=A
  84. \144=E\b'
  85. \145=ae                         ;two chars is the closest we can come to imitate
  86. \146=AE
  87. \147=o\b^
  88. \148=o
  89. \149=o\b`
  90. \150=u\b^
  91. \151=u\b`
  92. \152=y
  93. \153=O
  94. \154=U
  95. \155=C\b|
  96. \156=L\b-
  97. \157=Y\b\=
  98. \158=Pt
  99. \159=f
  100. \160=a\b'
  101. \161=i\b'
  102. \162=o\b'
  103. \163=u\b'
  104. \164=n\b~
  105. \165=N\b~
  106. \166=a\b_
  107. \167=o\b_
  108. \168=?                          ;can't even imitate this one ¿ so turn it
  109. \169=+
  110. \170=+
  111. \171=1/2
  112. \172=1/4
  113. \173=!                          ;turn this one over also ¡ (can't imitate)
  114. \174=<<
  115. \175=>>
  116.  
  117. ;
  118. ; Now delete the graphics characters and remap all line drawing characters
  119. ; to the lower ASCII (best we can do equivalents)
  120. ;
  121. \176=
  122. \177=
  123. \178=
  124. \179=|
  125. \180=+
  126. \181=+
  127. \182=+
  128. \183=+
  129. \184=+
  130. \185=+
  131. \186=|
  132. \187=+
  133. \188=+
  134. \189=+
  135. \190=+
  136. \191=+
  137. \192=+
  138. \193=+
  139. \194=+
  140. \195=+
  141. \196=-
  142. \197=+
  143. \198=+
  144. \199=+
  145. \200=+
  146. \201=+
  147. \202=+
  148. \203=+
  149. \204=+
  150. \205=\=
  151. \206=+
  152. \207=+
  153. \208=+
  154. \209=+
  155. \210=+
  156. \211=+
  157. \212=+
  158. \213=+
  159. \214=+
  160. \215=+
  161. \216=+
  162. \217=+
  163. \218=+
  164. \219=
  165. \220=
  166. \221=
  167. \222=
  168. \223=
  169. \224=
  170. \225=
  171. \226=
  172. \227=
  173. \228=
  174. \229=
  175. \230=
  176. \231=
  177. \232=o\b|
  178. \233=O\b-
  179. \234=
  180. \235=
  181. \236=oo
  182. \237=O\b/
  183. \238=C\b-
  184. \239=
  185. \240=\=\b_
  186. \241=+\b_
  187. \242=>\b_
  188. \243=<\b_
  189. \244=
  190. \245=
  191. \246=
  192. \247=
  193. \248=
  194. \249=
  195. \250=
  196. \251=
  197. \252=n
  198. \253=
  199. \254=
  200. \255=
  201.